

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<script type="text/javascript" src="helpman_topicinit.js"></script>

<title>Label Menu Section [Enterprise Architect User Guide]</title>

<meta name="keywords" content="Enterprise Architect, Sparx Systems, UML, Menu,Menu Label,Label,Label Menu,Label Bold,Label Hide,Label Set Color,Label Element,Label Connector,Label Alignment,Label Direction Indicator,Connector,Connector Labels,Connector Direction Indicator,Element,Element Labels,Context Menu,Context Menu Element Label,Context Menu Connector Label,Direction Indicator,Direction Indicator Connector Label">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />

<link type="text/css" href="default.css" rel="stylesheet" />
<style type="text/css">
  A, A:Visited
  {
    color: #00F;
  }

  A:Active, A:Hover
  {
    color: #F00;
  }

  OL
  {
    margin: 5px 0 5px 48px;
  }

  UL
  {
    margin-bottom: 3px;
    margin-top: 0;
  }

  #nsr
  {
    background-color: #D4DFFF;
  }

  #nsr A
  {
    text-decoration: none;
  }

  #mainbody
  {
    padding: 8px;
  }

  .p_BodyText
  {
    padding: 5px 0;
  }
</style>



<style type="text/css" media="screen">
  BODY
  {
    background-color: #FFFFFF;
  }

  #nsr
  {
    padding: 6px 6px 0 6px;
    border-bottom: none;
    vertical-align: top;
    z-index: 2;
    visibility: visible;
    left: 0;
    top: 0;
    position: absolute;
  }

  #mainbody
  {
    left: 0;
    top: 0;
    margin: 0;
    position: absolute;
    padding: 10px;
    overflow: auto;
    height: 100%;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-attachment: fixed;
  }
</style>

<style type="text/css" media="print">
  #nsr
  {
    visibility: none;
  }

  #mainbody
  {
    overflow: visible;
  }
</style>
<script type="text/javascript" language="JavaScript" src="nonscroll.js"></script>

</head>
<body scroll="no">

<div id="page">



        <div id="content">
          <div id="content-inner">
          



  
          <div id="nsr">
            <table border="0" cellspacing="0" cellpadding="4" width="100%">
              <tr valign="top">
                <td align="left">
  


                  <p class="p_Heading1"><span class="f_Heading1">Label Menu Section</span></p>



  
                </td>
                <td align="right">
                  <a href="introduction.htm" onmouseover="document.images.main.src='button_main_h.gif'" onmouseout="document.images.main.src='button_main.gif'">
                    <img name="main" src="button_main.gif" border=0 alt="Return to Introduction">
                  </a>&nbsp;
    
                  <a href="showrealizedinterfacesfora.htm" onmouseover="document.images.prev.src='button_prev_h.gif'" onmouseout="document.images.prev.src='button_prev.gif'">
                    <img name=prev src="button_prev.gif" border=0 alt="Previous page" />
                  </a>&nbsp;
    
    
    
                  <a href="lockdiagram.htm" onmouseover="document.images.next.src='button_next_h.gif'" onmouseout="document.images.next.src='button_next.gif'">
                    <img name=next src="button_next.gif" border=0 alt="Next page" />
                  </a>
    
    
                </td>
              </tr>
            </table>
          </div>
          <div id="mainbody">
  


                <p class="p_BodyText"><span class="f_BodyText">You can add labels to both connectors and elements, using the element or connector context menu as follows:</span></p>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1">Element:</span></li>
</ul>
<ul style="text-indent: 0px; margin-left: 65px; list-style-position: outside;">
<li><span class="f_Bulletlist3">Select the </span><span class="f_MenuKeyField"><a href="embeddingandfeatures.htm">Embedded Elements</a></span><span class="f_Bulletlist3"> menu option and either the</span><span class="f_MenuKeyField"> Add &lt;element&gt;</span><span class="f_Bulletlist3"> option or the </span><span class="f_MenuKeyField">Embedded Elements</span><span class="f_Bulletlist3"> option; the label is the embedded element name</span></li>
<li><span class="f_Bulletlist3">Apply an <a href="bitmapimagesindiagrams.htm">alternative image</a> to an element (that might also have a <a href="definearuntimevariable.htm">run state)</a>; the run state, attributes and operations of the element are then displayed as a label of the element.</span></li>
</ul>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1">Connector - Select the </span><span class="f_MenuKeyField"><a href="connectiondetails.htm">Properties</a></span><span class="f_Bulletlist1"> option and define the connector name, stereotype, constraints and/or source and target roles.</span></li>
</ul>
<p class="p_BodyText"><span class="f_BodyText">Once you have these labels, you can edit and format them using the </span><span class="f_MenuKeyField">Labels</span><span class="f_BodyText"> context menu.</span></p>
<p class="p_BodyText"><span class="f_BodyText">To display the </span><span class="f_MenuKeyField">Labels</span><span class="f_BodyText"> context menu, right-click on a label.</span></p>
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 5px 0px 5px 13px;"><table cellspacing="0" cellpadding="2" border="0" style="border: none; border-spacing:0px;">
<tr style="text-align:left;vertical-align:bottom;">
<td valign="bottom" width="952" bgcolor="#efeff7" style="width:952px; background-color:#efeff7;"><p class="p_TiporNote" style="border-top: none; border-right: none; border-left: none;"><span class="f_TiporNote">Note:</span></p>
</td>
</tr>
<tr style="text-align:left;">
<td width="952" bgcolor="#f7f7ff" style="width:952px; background-color:#f7f7ff;"><p class="p_TiporNoteText"><span class="f_TiporNoteText">As labels can be concentrated on and around the element or connector, make sure that you click on a section of the required label that is clear of any other label or structure.</span></p>
</td>
</tr>
</table>
</div>
<p class="p_SubHeadingL1"><span class="f_SubHeadingL1">Element Labels</span></p>
<p class="p_BodyText"><span class="f_BodyText">The </span><span class="f_MenuKeyField">Labels</span><span class="f_BodyText"> menu associated with embedded elements provides the following options:</span></p>
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 5px 0px 5px 13px;"><table cellspacing="0" cellpadding="0" border="0" style="border: none; border-spacing:0px; border-collapse: collapse;">
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="116" bgcolor="#e3e6ed" style="width:116px; background-color:#e3e6ed; border: solid 1px #000000;"><p class="p_Tableheader"><span class="f_Tableheader">Menu Option</span></p>
</td>
<td valign="top" width="484" bgcolor="#e3e6ed" style="width:484px; background-color:#e3e6ed; border: solid 1px #000000;"><p class="p_Tableheader"><span class="f_Tableheader">Use to</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="116" style="width:116px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext" style="font-weight: bold;">Set Label Color</span></p>
</td>
<td valign="top" width="484" style="width:484px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext">Specify a color for the label.</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="116" style="width:116px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext" style="font-weight: bold;">Hide Label</span></p>
</td>
<td valign="top" width="484" style="width:484px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext">Hide the label; to unhide the label, right-click on the element and select the </span><span class="f_MenuKeyField"><a href="appearancemenusection.htm">Appearance | Show labels</a> </span><span class="f_Tabletext">context menu option.</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="116" style="width:116px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext" style="font-weight: bold;">Bold</span></p>
</td>
<td valign="top" width="484" style="width:484px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext">Set the label font to bold.</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="116" style="width:116px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext" style="font-weight: bold;">Text Alignment</span></p>
</td>
<td valign="top" width="484" style="width:484px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext">Align the text within the label text area. The options available from the submenu enable you to specify left, center and right alignment.</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="116" style="width:116px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext" style="font-weight: bold;">Label Rotation</span></p>
</td>
<td valign="top" width="484" style="width:484px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext">Orient the label in the horizontal or vertical planes, with the vertical plane offering the option of clockwise or anti-clockwise position.</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="116" style="width:116px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext" style="font-weight: bold;">Default Position</span></p>
</td>
<td valign="top" width="484" style="width:484px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext">Move the label to the initial default location.</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="116" style="width:116px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext" style="font-weight: bold;">Default Color</span></p>
</td>
<td valign="top" width="484" style="width:484px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext">Set the label color to the default color.</span></p>
</td>
</tr>
</table>
</div>
<p class="p_SubHeadingL1"><span class="f_SubHeadingL1">Connector Labels</span></p>
<p class="p_BodyText"><span class="f_BodyText">The</span><span class="f_MenuKeyField"> Labels</span><span class="f_BodyText"> menu associated with connectors provides the following options:</span></p>
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 13px;"><table cellspacing="0" cellpadding="0" border="0" style="border: none; border-spacing:0px; border-collapse: collapse;">
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="116" bgcolor="#e3e6ed" style="width:116px; background-color:#e3e6ed; border: solid 1px #000000;"><p class="p_Tableheader"><span class="f_Tableheader">Menu Option</span></p>
</td>
<td valign="top" width="486" bgcolor="#e3e6ed" style="width:486px; background-color:#e3e6ed; border: solid 1px #000000;"><p class="p_Tableheader"><span class="f_Tableheader">Use to</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="116" style="width:116px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext" style="font-weight: bold;">Set Label Color</span></p>
</td>
<td valign="top" width="486" style="width:486px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext">Specify a color for the label.</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="116" style="width:116px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext" style="font-weight: bold;">Hide Label</span></p>
</td>
<td valign="top" width="486" style="width:486px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext">Hide the label; to unhide the label use the </span><span class="f_MenuKeyField">Visibility | <a href="hideshowlabels.htm">Set Label Visibility</a></span><span class="f_Tabletext"> option on the connector context menu.</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="116" style="width:116px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext" style="font-weight: bold;">Bold</span></p>
</td>
<td valign="top" width="486" style="width:486px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext">Set the label font to bold.</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="116" style="width:116px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext" style="font-weight: bold;">Text Alignment</span></p>
</td>
<td valign="top" width="486" style="width:486px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext">Align the text within the label text area. The options available from the submenu enable you to specify left, center and right alignment.</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="116" style="width:116px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext" style="font-weight: bold;">Label Rotation</span></p>
</td>
<td valign="top" width="486" style="width:486px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext">Orientate the label horizontally or vertically and, if vertically, in a clockwise or anti-clockwise position.</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="116" style="width:116px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext" style="font-weight: bold;">Direction</span></p>
</td>
<td valign="top" width="486" style="width:486px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext">Set a small arrow at the end of the label pointing to either the label source or the destination dependent upon selection from the available options.</span></p>
<p class="p_Tabletext"><img src="label%20direction.png" width="132" height="36" border="0" alt="Label Direction"></p>
<p class="p_Tabletext"><span class="f_Tabletext">This is part of the label, so if there is no label there is no direction indicator.</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="116" style="width:116px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext" style="font-weight: bold;">Default Position</span></p>
</td>
<td valign="top" width="486" style="width:486px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext">Move the label to the default location.</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="116" style="width:116px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext" style="font-weight: bold;">Default Color</span></p>
</td>
<td valign="top" width="486" style="width:486px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext">Set the label color to the initial default color.</span></p>
</td>
</tr>
</table>
</div>




            </div>
          </div>
        </div>



</div>


</body>
</html>
